Skip to content

Drop deprecated auto-self-downcasts - #213

Merged
inducer merged 3 commits into
mainfrom
no-auto-self-downcast
Aug 12, 2026
Merged

Drop deprecated auto-self-downcasts#213
inducer merged 3 commits into
mainfrom
no-auto-self-downcast

Conversation

@inducer

@inducer inducer commented Jul 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

@inducer

inducer commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

@connorjward This is another thing that might be worth a look. The gunk that this drops will no longer be needed by loopy after inducer/loopy#1023, so I'd like to get rid of it before too long. It has been deprecated (with warnings) for a while. Merging this will break old loopy.

I'd be happy to coordinate with you on the timeline for merging and releasing this.

@inducer
inducer force-pushed the no-auto-self-downcast branch from 28d7bfa to a29fc69 Compare August 11, 2026 12:49
@connorjward

Copy link
Copy Markdown

@connorjward This is another thing that might be worth a look. The gunk that this drops will no longer be needed by loopy after inducer/loopy#1023, so I'd like to get rid of it before too long. It has been deprecated (with warnings) for a while. Merging this will break old loopy.

I'd be happy to coordinate with you on the timeline for merging and releasing this.

Our next release is scheduled for early October. We are quite used to handling upstream breaking changes (looking at you PETSc) so I am not concerned. And since our releases use versioned releases of loopy this isn't an immediately breaking changes for our users (and if you make a new release that breaks us we can make a patch release with a pin in short order).

In short: early warning of things breaking is super welcome, but don't let us hold you up and merging early (and hence well in advance of our next release) is actually best.

@inducer
inducer force-pushed the no-auto-self-downcast branch 2 times, most recently from aca7469 to e5a6968 Compare August 12, 2026 08:06
@inducer
inducer marked this pull request as ready for review August 12, 2026 08:08
@inducer
inducer force-pushed the no-auto-self-downcast branch from e5a6968 to c472b29 Compare August 12, 2026 08:52
@inducer
inducer force-pushed the no-auto-self-downcast branch from c472b29 to f18f39d Compare August 12, 2026 11:04
@inducer

inducer commented Aug 12, 2026

Copy link
Copy Markdown
Owner Author

In short: early warning of things breaking is super welcome, but don't let us hold you up and merging early (and hence well in advance of our next release) is actually best.

Does that mean you guys also have a version constraint on islpy? If not, it might be good to put that in place. Without that, the removal of the implicit casts that are happening here will break current released versions of loopy, once this shows up in a released version of islpy.

There's no big rush from my perspective, as current loopy main works fine with release islpy. That said, the removal of these casts does seem to speed things up a good bit, so it's desirable to have this before too long.

@inducer
inducer merged commit 5e5500f into main Aug 12, 2026
22 of 26 checks passed
@inducer
inducer deleted the no-auto-self-downcast branch August 12, 2026 11:28
@connorjward

Copy link
Copy Markdown

In short: early warning of things breaking is super welcome, but don't let us hold you up and merging early (and hence well in advance of our next release) is actually best.

Does that mean you guys also have a version constraint on islpy? If not, it might be good to put that in place. Without that, the removal of the implicit casts that are happening here will break current released versions of loopy, once this shows up in a released version of islpy.

There's no big rush from my perspective, as current loopy main works fine with release islpy. That said, the removal of these casts does seem to speed things up a good bit, so it's desirable to have this before too long.

We don't constrain islpy but I am not concerned. If a new islpy release breaks us then we will detect that very quickly because of how often we run CI. We can then add a version pin to our pyproject.toml and make a patch release immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants